xen/arm, device-tree: Make static-mem use #{address,size}-cells
authorHenry Wang <Henry.Wang@arm.com>
Fri, 9 Sep 2022 05:23:57 +0000 (05:23 +0000)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 9 Sep 2022 20:49:02 +0000 (13:49 -0700)
commit942ac5fc15ecc2f7ef1d9331c76d89d2cef10e5c
treebedfd3a16f51f3aebc8e19c784ab564e53a269bb
parentcc80e2bab0d09b50397811d5441a8cda071f4e46
xen/arm, device-tree: Make static-mem use #{address,size}-cells

In order to keep consistency in the device tree binding, there is
no need for static memory allocation feature to define a specific
set of address and size cells for "xen,static-mem" property.

Therefore, this commit reuses the regular #{address,size}-cells
for parsing the device tree "xen,static-mem" property. Update
the documentation accordingly.

Also, take the chance to remove the unnecessary "#address-cells"
and "#size-cells" in the domU1 node of the device tree to only
emphasize the related part that the example is showing.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
docs/misc/arm/device-tree/booting.txt
docs/misc/arm/passthrough-noiommu.txt
xen/arch/arm/bootfdt.c
xen/arch/arm/domain_build.c